package com.itheima.practice;

import jdk.jfr.DataAmount;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ProjectName: shixun DaErXia
 * @Titile: person
 * @Author: 雨
 * @Description: TODO
 */
@Data
@AllArgsConstructor//全部参数构造函数
@NoArgsConstructor
public class person {
    private String name;
    private double chinese;
    private double math;
    private double english;

    public double getMath() {
        return math;
    }

    public double getChinese() {
        return chinese;
    }

    public double getEnglish() {
        return english;
    }
}
